﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcReservas.Models.Cliente>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Busqueda
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Realizar Reserva - Paso 1</h2>

     <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <div class="editor-label">
                <label>Cliente (DNI) :</label>
        </div>
        <div class="editor-field">
                <%: Html.TextBoxFor(model => model.dni)%>
                Si desea actualizar sus datos haga clic <%: Html.ActionLink("aqui", "../Cliente/Obtener","Cliente")%>
        </div>

        <div class="editor-label">
                <label>Canchita :</label>
        </div>
        <div class="editor-label">
               <%= Html.DropDownListFor(model => model.SelectedUsers, Model.AvailableUsers)%>
        </div>

         <p>
                <input type="submit" value="Buscar" />
            </p>

 <% } %>

</asp:Content>
